package com.yanqu.road.entity.log.horserun;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_horse_run_lottery",autoSave = true,uploadCk = true,desc = "小马快跑抽奖日志",dataUpload = true,eventName = "horserun_draw")
public class HorseRunLotteryLog extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true,dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "抽奖结果",dataAttribute = "horserun_get")
    private int result;
    @FieldTypeAnnotation(desc = "开启游戏倍数")
    private int multiple;
    @FieldTypeAnnotation(desc = "剩余抽奖次数",dataAttribute = "horserun_gainnum")
    private int remainLotteryTime;
    @FieldTypeAnnotation(desc = "当前小马评分",dataAttribute = "horserun_score")
    private long grade;

    public HorseRunLotteryLog(int activityId, long userId, int result, int multiple, int remainLotteryTime,long grade) {
        this.activityId = activityId;
        this.userId = userId;
        this.result = result;
        this.multiple = multiple;
        this.remainLotteryTime = remainLotteryTime;
        this.grade = grade;

    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public int getMultiple() {
        return multiple;
    }

    public void setMultiple(int multiple) {
        this.multiple = multiple;
    }

    public int getRemainLotteryTime() {
        return remainLotteryTime;
    }

    public void setRemainLotteryTime(int remainLotteryTime) {
        this.remainLotteryTime = remainLotteryTime;
    }

    public long getGrade() {
        return grade;
    }

    public void setGrade(long grade) {
        this.grade = grade;
    }
}
